﻿<%@ Page Title="我的资料" Language="C#" MasterPageFile="~/HealthCommunity.Master" AutoEventWireup="true" CodeBehind="UserInfo.aspx.cs" Inherits="HealthCommunity.UserInfo" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
	<link href="css/jqueryui/jquery-ui-1.8.20.custom.css" rel="stylesheet" type="text/css" />
	<%--	<script src="Scripts/jquery-1.7.1-vsdoc.js" type="text/javascript"></script>	--%>
	<script src="Scripts/jquery-1.7.2.min.js" type="text/javascript"></script>
	<script src="Scripts/jquery-ui-1.8.20.custom.min.js" type="text/javascript"></script>
	<script type="text/javascript">
		$(function () {
			$("#userinfotabs").tabs();
		});
	</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
	<asp:ScriptManager ID="ScriptManager1" runat="server">
	</asp:ScriptManager>
	<div class="contenttitle">
		<h2>
			我的资料</h2>
	</div>
	<div id="userinfotabs">
		<ul>
			<li>
				<a href="#tab1">
					基本信息
				</a>
			</li>
			<li>
				<a href="#tab2">
					联系方式
				</a>
			</li>
		</ul>
		<div id="tab1">
			<table class="detail">
				<tr>
					<td>
						用户名:
					</td>
					<td>
						<asp:TextBox ID="txtUserName" runat="server" MaxLength="48"></asp:TextBox>
					</td>
				</tr>
				<tr>
					<td>
						中文名:
					</td>
					<td>
						<asp:TextBox ID="txtUserCName" runat="server" MaxLength="48"></asp:TextBox>
					</td>
				</tr>
				<tr>
					<td>
						性别:
					</td>
					<td>
						<asp:RadioButton ID="rblSexMale" runat="server" GroupName="sex" Text="男" />
						<asp:RadioButton ID="rblSexFemale" runat="server" GroupName="sex" Text="女" />
						<asp:RadioButton ID="rblSexKeepSecret" runat="server" GroupName="sex" Text="保密" />
					</td>
				</tr>
				<tr>
					<td>
						所在地:
					</td>
					<td>
						<asp:UpdatePanel ID="UpdatePanel1" runat="server">
							<ContentTemplate>
								<asp:DropDownList ID="ddlProvince" runat="server" AutoPostBack="true" DataTextField="Name" DataValueField="StateProvinceID" OnSelectedIndexChanged="ddlProvince_SelectedIndexChanged">
								</asp:DropDownList>
								<asp:DropDownList ID="ddlCity" runat="server" AutoPostBack="true" DataTextField="CityName" DataValueField="CityID">
								</asp:DropDownList>
								<asp:TextBox ID="txtAddress" runat="server" MaxLength="256"></asp:TextBox>
							</ContentTemplate>
						</asp:UpdatePanel>
					</td>
				</tr>
				<tr>
					<td>
						身份证:
					</td>
					<td>
						<asp:TextBox ID="txtSFZ" runat="server" MaxLength="16"></asp:TextBox>
					</td>
				</tr>
				<tr>
					<td>
						所在单位:
					</td>
					<td>
						<asp:TextBox ID="txtUnitName" runat="server" MaxLength="64"></asp:TextBox>
					</td>
				</tr>
				<tr>
					<td>
						职位:
					</td>
					<td>
						<asp:TextBox ID="txtPosition" runat="server" MaxLength="36"></asp:TextBox>
					</td>
				</tr>
				<tr>
					<td>
						当前头像:
					</td>
					<td>
						<asp:Image ID="imgHeader" runat="server" />
					</td>
				</tr>
				<tr>
					<td>
						上传头像:
					</td>
					<td>
						<asp:FileUpload ID="fuHeader" runat="server" />
					</td>
				</tr>
			</table>
		</div>
		<div id="tab2">
			<table class="detail">
				<tr>
					<td>
						Email:
					</td>
					<td>
						<asp:TextBox ID="txtEmail" runat="server" MaxLength="56" Width="180"></asp:TextBox>
					</td>
				</tr>
				<tr>
					<td>
						传真:
					</td>
					<td>
						<asp:TextBox ID="txtFax" runat="server" MaxLength="16" Width="180"></asp:TextBox>
					</td>
				</tr>
				<tr>
					<td>
						QQ:
					</td>
					<td>
						<asp:TextBox ID="txtQQ" runat="server" ReadOnly="true" Width="180"></asp:TextBox>
					</td>
				</tr>
				<tr>
					<td>
						手机:
					</td>
					<td>
						<asp:TextBox ID="txtPhoneNumber" runat="server" MaxLength="16" Width="180"></asp:TextBox>
					</td>
				</tr>
				<tr>
					<td>
						电话:
					</td>
					<td>
						<asp:TextBox ID="txtTel" runat="server" MaxLength="16" Width="180"></asp:TextBox>
					</td>
				</tr>
				<tr>
					<td>
						邮编:
					</td>
					<td>
						<asp:TextBox ID="txtZipCode" runat="server" MaxLength="16" Width="180"></asp:TextBox>
					</td>
				</tr>
			</table>
		</div>
		<div>
			<asp:Literal ID="ltrMsg" runat="server"></asp:Literal>
		</div>
		<div>
			<asp:Button ID="btnSave" runat="server" Text="保 存" CssClass="submitbutton" Width="120" ValidationGroup="userinfo" OnClick="btnSave_Click" />
		</div>
	</div>
</asp:Content>
